com.supermap.plot

Class AnimationGO

    • Method Detail

      • setGeometry

        public void setGeometry(GeoGraphicObject pGeometry,
                                long pMapControl,
                                java.lang.String layerName)
        Sets animation objects
        Parameters:
        pGeometry - The Geometry object.
        pMapControl - mapcontrol object
        layerName - Layer name
      • getGeometry

        public int getGeometry()
        Gets the geometric object id.
        Returns:
        id
      • setName

        public boolean setName(java.lang.String name)
        Sets the animation name
        Parameters:
        name - Name
        Returns:
        whether settings are successful.
      • getName

        public java.lang.String getName()
        Gets the animation name
        Returns:
        Animation name
      • setStartTime

        public boolean setStartTime(double nStartTime)
        Sets the starting time
        Parameters:
        nStartTime - the starting time
        Returns:
        whether settings are successful.
      • getStartTime

        public double getStartTime()
        Gets the starting time
        Returns:
        the starting time
      • setDuration

        public boolean setDuration(double Timelong)
        Sets time of animation.
        Parameters:
        Timelong - Time
        Returns:
        whether settings are successful.
      • getDuration

        public double getDuration()
        Gets time of animation.
        Returns:
        The time of animation
      • getLayerName

        public java.lang.String getLayerName()
        Gets layer name
        Returns:
        The name of the layer.
      • fromXml

        public boolean fromXml(java.lang.String xmlStr)
        Converts data from xml to animation
        Parameters:
        xmlStr - xml object
        Returns:
        whether succeed
      • toXml

        public java.lang.String toXml()
        Converts to the xml object
        Returns:
        xml
      • dispose

        public void dispose()
        Closes the animations